package com.hzf.material.dao.mapper;

import com.hzf.material.dao.model.MaterialGoodsModelPin;
import com.hzf.material.dao.model.MaterialGoodsModelPinExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface MaterialGoodsModelPinMapper {
    long countByExample(MaterialGoodsModelPinExample example);

    int deleteByExample(MaterialGoodsModelPinExample example);

    int deleteByPrimaryKey(Integer pinId);

    int insert(MaterialGoodsModelPin record);

    int insertSelective(MaterialGoodsModelPin record);

    List<MaterialGoodsModelPin> selectByExample(MaterialGoodsModelPinExample example);

    MaterialGoodsModelPin selectByPrimaryKey(Integer pinId);

    int updateByExampleSelective(@Param("record") MaterialGoodsModelPin record, @Param("example") MaterialGoodsModelPinExample example);

    int updateByExample(@Param("record") MaterialGoodsModelPin record, @Param("example") MaterialGoodsModelPinExample example);

    int updateByPrimaryKeySelective(MaterialGoodsModelPin record);

    int updateByPrimaryKey(MaterialGoodsModelPin record);
}